package com.chenyongjing.design.pattern.chain.auth.builderchain;

import com.chenyongjing.design.pattern.chain.auth.Member;

/**
 * @Author chen
 * @Date 2022/11/17 22:30
 */
public class LoginHandler extends Handler {

    @Override
    public void doHandler(Member member) {
        System.out.println("登录成功");
        member.setRoleName("管理员");
    }
}
